<template>
    <div>
        一只儿子
        <p>
            我爹这样渲染我的name: 
            <slot :sonName="name" :sonAge="age" name="slot1"></slot>
        </p>

        <p>
            我爹这样渲染我的age: 
            <slot name="slot2" :sName="name" :sAge="age"></slot>
        </p>

    </div>
</template>

<script>
    export default {
        data(){
            return {
                name:"奉先",
                age:18
            }
        }
    }
</script>

<style lang="scss" scoped>

</style>